package com.kgc.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "查询热词展示",description = "对应数据的hotword字段")
public class HotWord implements Serializable {
    private static final long serialVersionUID = -3941924938109889173L;

    @ApiModelProperty(value = "热词id")
    private Integer id;

    @ApiModelProperty(value = "具体的热词数据")
    private String hotWord;

    @ApiModelProperty(value = "热词的搜索量")
    private Integer hotWordCount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHotWord() {
        return hotWord;
    }

    public void setHotWord(String hotWord) {
        this.hotWord = hotWord == null ? null : hotWord.trim();
    }

    public Integer getHotWordCount() {
        return hotWordCount;
    }

    public void setHotWordCount(Integer hotWordCount) {
        this.hotWordCount = hotWordCount;
    }
}